/*
 *  XMPmediator.h
 *  openFrameworks
 *
 *  Created by Frederic Gmeiner on 02.07.09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef __XMPMEDIATOR
#define ____XMPMEDIATOR




#include	"ofMain.h"
#include	"XMPmediatorConnector.h"
#include	"ofxDirList.h"
#include	<vector>
#include	"Databaser.h"






namespace abliefern {
	
	class XMPmediator {
	public:
		
		
		std::vector<std::string> getKeywords(std::string theFilename);
		
		void fillDatabaseTags();
		
		XMPmediatorConnector XML;
		
		std::vector<std::string> tokenize (const std::string& str,const std::string& delimiters);
		
		int StringToInt(std::string stringValue);
	
		
	private:
		
		/* Directory listing */
		int 		nFiles;
		ofxDirList   DIR;
		Databaser _myDatabase;
		
		

		
		
	
	};
	
}

#endif